class Person6 {
  // 添加public，简写形式
  constructor(public name: string, public age: number){}
}
